package com.qf.userfull.dict;

public class DictDemo {
    public static void main(String[] args) {
        Dictionary dictionary = new DictionaryImpl();

        dictionary.addWord("student","学生");
        dictionary.addWord("circle","圆形;周旋");

        String circle = dictionary.findWord("circle");
        System.out.println(circle);
        System.out.println(dictionary.findWord("student"));
        System.out.println(dictionary.findWord("sex"));

    }
}
